package com.shiwaixiangcun.monitor.service;

import com.shiwaixiangcun.core.plugin.dto.MonkeyDto;
import com.shiwaixiangcun.core.service.BaseService;
import com.shiwaixiangcun.monitor.domain.WorkOrderTimeoutRule;
import com.shiwaixiangcun.monitor.dto.TimeOutDateDto;
import com.shiwaixiangcun.monitor.dto.WorkOrderTimeoutRuleDto;

import java.util.List;

/**
 * Created by tianye on 2017/11/23.
 */
public interface WorkOrderTimeoutRuleService extends BaseService<WorkOrderTimeoutRule, Long> {

    List<WorkOrderTimeoutRuleDto> ruleList();

    void ruleAdd(MonkeyDto monkeyDto);

    void ruleRemove(Long id);

    void execTimeOutJob();

    // 查询超时时间列表 字典
    List<TimeOutDateDto> getTimeOutDateList();
}
